package com.okb.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * Description:
 * Author: hcxu
 * Time: 2024/11/22 1:59 PM
 */
@Data
public class ResponseBean<T> implements Serializable {
    private Integer code;
    private String msg;
    private List<T> data;

    public boolean getCode(){
        if (new Integer(0).equals(this.code))
            return true;
        return false;
    }
}
